package Case01.example02;

public class CylinderTest {

    public static void main(String[] args) {


        Cylinder cylinder = new Cylinder();

        //设置圆的半径  来自 父类
//        cylinder.setR(5);
        //圆柱独特
//        cylinder.setHeight(10);

        double s = cylinder.findVolume();
        System.out.println("圆柱的体积：" + s);

    }
}
